package dao;

import java.util.List;

import entity.Assertion;


public class AssertionDAO extends GenericDAO<Assertion>{
	private static final long serialVersionUID = 1L;

	
	public AssertionDAO() {
		super(Assertion.class);
		
	}

	public List<Assertion> getAssertionById(Integer id) {
        return getList(Assertion.class, "select a from Assertion a where a.restRequest.restReqId = ?1", id );
    }
}
